window: Avoid excessive resizing with popovers
authorMatthias Clasen <mclasen@redhat.com>
Wed, 9 Mar 2016 13:58:23 +0000 (08:58 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 9 Mar 2016 13:58:23 +0000 (08:58 -0500)
commited5468e81ce3fe2d75703cfd51481986902f5165
treec6d9d5fe2410d865a01ba6adf7709fb14c140e96
parent9ab920164ab50393a68f4b024c89f65c2c516884
window: Avoid excessive resizing with popovers

Under Wayland, popovers use subsurfaces, and we end up getting
configure events for these delivered to the toplevel they're in.
To avoid triggering resize loops, ignore configure events that
are not for the toplevel window itself.

https://bugzilla.gnome.org/show_bug.cgi?id=763351
gtk/gtkwindow.c